<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('Important/index')}">数据列表</a></li>
        <li class="active"><a href="{:U('Important/add')}">添加数据</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form">
        <fieldset>
            <div class="control-group" id="content">
                <label class="control-label">数据名称：</label>
                <div class="controls">
                    <input type="text" name="content" placeholder="" value="{$row.content}"/>
                </div>
            </div>
            <div class="control-group" id="all">
                <label class="control-label">数据内容：</label>
                <div class="controls">
                    <input type="text" name="f_data" placeholder="前值" value="{$row.f_data}"/>
                    <input type="text" name="y_data" placeholder="预期值" value="{$row.f_data}"/>
                    <input type="text" name="r_data" placeholder="公布值" value="{$row.f_data}"/>
                    <input type="text" name="r_time" placeholder="公布时间" value="{$row.r_time}"/>
                </div>
            </div>
            <div class="control-group" id="impact">
                <label class="control-label">影响：</label>
                <div class="controls">
                    <textarea name="impact" style="width: 510px;height: 120px;" placeholder="数据影响:利空,利多">{$row.impact}</textarea>
                </div>
            </div>
        </fieldset>
        <div class="form-actions">
            <a class="btn" href="{:U('Important/add')}">{:L('BACK')}</a>
            <button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>